<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

Menu:<br />
                <ul>
                    <li><a href="/pa165/" class="anchor"><spring:message code="navig.home"/></a></li>
                    <sec:authorize access="principal.username != 'pa165'">
                    <li><a href="/pa165/reservations" class="anchor"><spring:message code="navig.res"/></a></li>
                    <li><a href="/pa165/user" class="anchor"><spring:message code="navig.user"/></a></li>  
                    </sec:authorize>
                    <sec:authorize access="hasRole('ROLE_ADMIN')">
                    <li><a href="/pa165/car" class="anchor"><spring:message code="navig.car"/></a></li>
                    <li><a href="/pa165/employees" class="anchor"><spring:message code="navig.emp"/></a></li>
                    <li><a href="/pa165/companies" class="anchor"><spring:message code="navig.comp"/></a></li>
                    </sec:authorize>
                    <li><a href="<c:url value="j_spring_security_logout"/>"><spring:message code="navig.logout"/><c:out value="  [ ${username} ]"/></a></li>
                </ul>
